package com.kly.order.db.entity;
import com.fqgj.common.entity.BaseEntity;
import java.math.BigDecimal;
import java.util.Date;
/**
* User: linqu
* Date: 2024-02-20
* Time: 14:20:16.070
* TableDesc:产品表
*/
public class ProductEntity extends BaseEntity{
    /**
    *
    */
    private String appCode;
    /**
    *产品码
    */
    private String productCode;
    /**
    *产品名称
    */
    private String productName;
    /**
    *产品图标
    */
    private String productIcon;
    /**
    *产品属性-json格式
    */
    private String productConfig;
    /**
    *产品描述
    */
    private String description;
    /**
    *产品类型、1、周会员、2月会员、3季度会员
    */
    private Integer sortBy;
    /**
    *产品分类1、会员产品，2、会话产品，3、私密相册、4、私密视频
    */
    private Integer productCategory;
    /**
    *使用天数,非会员产品为0
    */
    private Integer usageDays;
    /**
    *产品数量，会员产品为0
    */
    private Integer productQuantity;
    /**
    *价格
    */
    private BigDecimal price;
    /**
    *促销产品原价
    */
    private BigDecimal originalPrice;
    /**
    *状态值
    */
    private Integer status;
    /**
    *商品类型: 1-消耗类 2-订阅类
    */
    private Integer purchaseType;
    /**
    *商品促销折扣码
    */
    private String discountCode;


    public  String getAppCode(){
        return this.appCode;
    }

    public  ProductEntity setAppCode(String appCode){
        this.appCode = appCode;
        return this;
    }

    public  String getProductCode(){
        return this.productCode;
    }

    public  ProductEntity setProductCode(String productCode){
        this.productCode = productCode;
        return this;
    }

    public  String getProductName(){
        return this.productName;
    }

    public  ProductEntity setProductName(String productName){
        this.productName = productName;
        return this;
    }

    public  String getProductIcon(){
        return this.productIcon;
    }

    public  ProductEntity setProductIcon(String productIcon){
        this.productIcon = productIcon;
        return this;
    }

    public  String getProductConfig(){
        return this.productConfig;
    }

    public  ProductEntity setProductConfig(String productConfig){
        this.productConfig = productConfig;
        return this;
    }

    public  String getDescription(){
        return this.description;
    }

    public  ProductEntity setDescription(String description){
        this.description = description;
        return this;
    }

    public  Integer getSortBy(){
        return this.sortBy;
    }

    public  ProductEntity setSortBy(Integer sortBy){
        this.sortBy = sortBy;
        return this;
    }

    public  Integer getProductCategory(){
        return this.productCategory;
    }

    public  ProductEntity setProductCategory(Integer productCategory){
        this.productCategory = productCategory;
        return this;
    }

    public  Integer getUsageDays(){
        return this.usageDays;
    }

    public  ProductEntity setUsageDays(Integer usageDays){
        this.usageDays = usageDays;
        return this;
    }

    public  Integer getProductQuantity(){
        return this.productQuantity;
    }

    public  ProductEntity setProductQuantity(Integer productQuantity){
        this.productQuantity = productQuantity;
        return this;
    }

    public  BigDecimal getPrice(){
        return this.price;
    }

    public  ProductEntity setPrice(BigDecimal price){
        this.price = price;
        return this;
    }

    public  BigDecimal getOriginalPrice(){
        return this.originalPrice;
    }

    public  ProductEntity setOriginalPrice(BigDecimal originalPrice){
        this.originalPrice = originalPrice;
        return this;
    }

    public  Integer getStatus(){
        return this.status;
    }

    public  ProductEntity setStatus(Integer status){
        this.status = status;
        return this;
    }

    public  Integer getPurchaseType(){
        return this.purchaseType;
    }

    public  ProductEntity setPurchaseType(Integer purchaseType){
        this.purchaseType = purchaseType;
        return this;
    }

    public  String getDiscountCode(){
        return this.discountCode;
    }

    public  ProductEntity setDiscountCode(String discountCode){
        this.discountCode = discountCode;
        return this;
    }
}
